package cn.neusoft.edu.his.demo.po;


import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableId;

@Data
public class User {
	@TableId
	private int userId;
	private String userName;
	private String telephone;
	private String password;
	private String realName;
	private String userRole;
	@JsonFormat(pattern = "yyyy-MM-dd ",timezone = "GMT+8")
	private Date lastLogin;
	private int loginCount;
	@JsonFormat(pattern = "yyyy-MM-dd ",timezone = "GMT+8")
	private Date createTime;
	private String roleId;
	private String roleName;
	
}
